Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /


Appendix A - Changes from JManager 1.0

Table A-1 alphabetically lists all the JManager 2.0 functions and how they differ (if at all) from the older 1.0 functions. Changes to data structures and constants are indicated under the appropriate function.

Table A-1  Changes from JManager 1.0 functions
Function NameChanges from 1.0
JMAddToClassPathNone.
JMCloseSessionNone.
JMCopyTextRefNew with 2.0.
JMCountAppletsNone.
JMCountAWTContextFramesNone.
JMDisposeAppletLocatorNone.
JMDisposeAppletViewerNone.
JMDisposeAWTContextNone.
JMDisposeTextRefNew with 2.0.
JMExecJNIMethodInContextNew with 2.0.
JMExecJNIStaticMethodInContextNew with 2.0.
JMExecMethodInContextNone.
JMExecStaticMethodInContextNone.
JMFrameActivateNone.
JMFrameClickNone.
JMFrameDragReceiveNew with 2.0.
JMFrameDragTrackingNew with 2.0.
JMFrameGoAwayNone.
JMFrameKeyNone.
JMFrameKeyReleaseNone.
JMFrameMouseOverNone.
JMFrameResumeNone.
JMFrameShowHideNone.
JMFrameUpdateNone.
JMFSSToURLNone.
JMGetAppletDimensionsNone.
JMGetAppletLocatorDataNone.
JMGetAppletNameStrings now passed as text objects.
JMGetAppletObjectNew with 2.0.
JMGetAppletViewerDataNone.
JMGetAppletViewerObjectNew with 2.0.
JMGetAppletViewerSecurityNew with 2.0.
JMGetAppletTagStrings now passed as text objects.
JMGetAWTContextDataNone.
JMGetAWTContextFrameNone.
JMGetAwtContextObjectNew with 2.0.
JMGetAWTFrameObjectNew with 2.0.
JMGetCurrentEnvNow returns a pointer to the Java Native Interface (JNI) structure rather than the Java Runtime Interface (JRI) structure.
JMGetCurrentJRIEnvNew with 2.0. Has the same functionality as the JManager 1.0 JMGetCurrentEnv function.
JMGetFrameContextNone.
JMGetFrameDataNone.
JMGetFrameSizeNone.
JMGetFrameViewerNone.
JMGetJMFrameObjectNew with 2.0.
JMGetJRIRuntimeInstanceNew with 2.0.
JMGetProxyInfoNew with 2.0.
JMGetSessionDataNone.
JMGetSessionObjectNew with 2.0.
JMGetSessionPropertyStrings now passed as text objects.
JMGetTextBytesNew with 2.0.
JMGetTextLengthNew with 2.0.
JMGetVersionNone.
JMGetViewerFrameNone.
JMGetVerifyModeNew with 2.0.
JMIdleNone.
JMJNIObjectToJRIRefNew with 2.0.
JMJRIRefToJNIObjectNew with 2.0.
JMMenuSelectedNone.
JMNewAppletLocatorStrings now passed as text objects.
JMNewAppletLocatorFromInfoStrings passed in the JMLocatorInfoBlock data structure are now text objects.
JMNewAppletViewerNew applet security data structure required (JMAppletSecurity).
JMNewAWTContextNone.
JMNewTextRefNew with 2.0.
JMOpenSessionNew code verifier options.

New JMRuntimeOptions mask.

New callbacks in JMSessionCallbacks data structure.

Many security options now bound to individual applets.

JMPutSessionPropertyStrings now passed as text objects.
JMReloadAppletNone.
JMRestartAppletNone.
JMResumeAppletNone.
JMResumeAWTContextNo longer required. AWT contexts no longer have a suspended state.
JMSetAppletLocatorDataNone.
JMSetAppletViewerDataNone.
JMSetAppletViewerSecurityNew with 2.0.
JMSetAWTContextDataNone.
JMSetFrameDataNone.
JMSetFrameSizeNone.
JMSetFrameVisibilityNew with 2.0.
JMSetProxyInfoNew with 2.0.
JMSetSessionDataNone.
JMSetVerifyModeNew with 2.0.
JMShowPropsDialogNo longer used. Calls from JManager 1.0 still supported.
JMSuspendAppletNone.
JMSuspendAWTContextNo longer required. AWT contexts no longer have a suspended state.
JMTextToJavaStringNew with 2.0.
JMTextToMacOSCStringHandleNew with 2.0.
JMURLToFSSStrings now passed as text objects.
MyAuthenticateNew with 2.0.
MyCheckUpdateNone.
MyExceptionOccurredStrings now passed as text objects.
MyExitNew with 2.0.
MyFetchCompletedNone.
MyFrameReorderNew with 2.0.
MyInvalRectNone.
MyLowMemNew with 2.0.
MyReleaseFrameNone.
MyRequestFrameNew callbacks in the JMFrameCallbacks data structure.

Dimensions of the frame now passed as a Rect structure.

MySetResizeableNew with 2.0.
MySetStatusMsgStrings now passed as text objects.
MySetTitleStrings now passed as text objects.
MyResizeRequestNone.
MyShowDocumentStrings now passed as text objects.
MyShowHideNone.
MyStandardErrorNone.
MyStandardInNone.
MyStandardOutputNone.
MyUniqueMenuIDNone.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997